<%@ page import="com.ikun.pojo.TbUser" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%
    TbUser tbUserNow = (TbUser)session.getAttribute("tbUserNow");
%>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <!-- 自适应手机屏幕 -->
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes"/>

    <title>生机校园帮|我的帮帮</title>

    <script src="${ctx}/js/jquery-1.11.0.min.js"></script>
    <link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all">
    <script src="${ctx}/layui/layui.js" charset="utf-8"></script>

    <link rel="stylesheet" href="${ctx}/page/css/myhelp.css">
    <script>
        var ctx = "${ctx}";
    </script>
    <script>
        var user_id = "<%=tbUserNow.getId() %>";
        var nickname = "<%=tbUserNow.getNickname() %>";
        var user_pic = "<%=tbUserNow.getPic() %>";
        var realname = "<%=tbUserNow.getRealname() %>";
        var account = "<%=tbUserNow.getAccount() %>";
        var sex = "<%=tbUserNow.getSex() %>";
        var phone = "<%=tbUserNow.getPhone() %>";
        var department = "<%=tbUserNow.getDepartment() %>";
        var profession = "<%=tbUserNow.getProfession() %>";
        var classes = "<%=tbUserNow.getClasses() %>";
        var balance = "<%=tbUserNow.getBalance() %>";
    </script>
    <script src="${ctx}/page/js/myhelp.js" charset="utf-8"></script>
</head>
<body>

<div id="top">
    <div class="top-nav-now" onclick="topNavClick(this)">我发布的</div>
    <div class="top-nav" onclick="topNavClick(this)">我参与的</div>
    <div class="top-nav" onclick="topNavClick(this)">我完成的</div>
    <div class="top-nav" onclick="topNavClick(this)">我的评论</div>
</div>

<!-- 我发表的 -->
<div id="middle-myadd">
    <div class="middle-head">
        <div class="head-title">帮帮标题</div>
        <div class="head-createtime">发表时间</div>
        <div class="head-state">状态</div>
        <div class="head-operate">操作</div>
    </div>
    <div class="middle-data">

        <%--<div class="data-box">--%>
            <%--<div class="task-id">1</div>--%>
            <%--<div class="data-title"><span>帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题</span></div>--%>
            <%--<div class="data-createtime">2019-06-02 15:41:30</div>--%>
            <%--<div class="data-state">进行中</div>--%>
            <%--<div class="data-operate"><a href="">详情</a>&nbsp;|&nbsp;<a href="">结账</a></div>--%>
        <%--</div>--%>

    </div>
    <div class="middle-page">
        <div class="prev-page" onclick="prevNextPage(this)">
            <
        </div>
        <div class="now-page">1
        </div>
        <div class="next-page" onclick="prevNextPage(this)">></div>
        <div class="count-page">共1页</div>
    </div>
    <div class="middle-nodata">无数据</div>
</div>

<!-- 我参与的 -->
<div id="middle-myjoin">
    <div class="middle-head">
        <div class="head-title">帮帮标题</div>
        <div class="head-finishtime">结束时间</div>
        <div class="head-user">发布人</div>
        <div class="head-operate">操作</div>
    </div>
    <div class="middle-data">

        <%--<div class="data-box">--%>
            <%--<div class="task-id">1</div>--%>
            <%--<div class="data-title"><span>帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题</span></div>--%>
            <%--<div class="data-finishtime">2019-06-02 15:41:30</div>--%>
            <%--<div class="data-user"><span>霍哈霍哈霍哈霍哈霍哈霍哈霍哈</span></div>--%>
            <%--<div class="data-operate"><a href="">详情</a>&nbsp;|&nbsp;<a href="">放弃</a>--%>
            <%--</div>--%>
        <%--</div>--%>

    </div>
    <div class="middle-page">
        <div class="prev-page" onclick="prevNextPage(this)">
            <
        </div>
        <div class="now-page">1
        </div>
        <div class="next-page" onclick="prevNextPage(this)">></div>
        <div class="count-page">共1页</div>
    </div>
    <div class="middle-nodata">无数据</div>
</div>

<!-- 我完成的 -->
<div id="middle-myfinish">
    <div class="middle-head">
        <div class="head-title">帮帮标题</div>
        <div class="head-finishtime">完成时间</div>
        <div class="head-user">发布人</div>
        <div class="head-operate">操作</div>
    </div>
    <div class="middle-data">

        <%--<div class="data-box">--%>
            <%--<div class="task-id">1</div>--%>
            <%--<div class="data-title"><span>帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题</span></div>--%>
            <%--<div class="data-finishtime">2019-06-02 15:41:30</div>--%>
            <%--<div class="data-user"><span>霍哈霍哈霍哈霍哈霍哈霍哈霍哈</span></div>--%>
            <%--<div class="data-operate"><a href="">详情</a>&nbsp;|&nbsp;<a href="">删除</a>--%>
            <%--</div>--%>
        <%--</div>--%>

    </div>
    <div class="middle-page">
        <div class="prev-page" onclick="prevNextPage(this)">
            <
        </div>
        <div class="now-page">1
        </div>
        <div class="next-page" onclick="prevNextPage(this)">></div>
        <div class="count-page">共1页</div>
    </div>
    <div class="middle-nodata">无数据</div>
</div>

<!-- 我的评论 -->
<div id="middle-mycomment">
    <div class="middle-head">
        <div class="head-content">评论内容</div>
        <div class="head-createtime">评论时间</div>
        <div class="head-operate">操作</div>
    </div>
    <div class="middle-data">

        <%--<div class="data-box">--%>
            <%--<div class="task-id">1</div>--%>
            <%--<div class="data-content"><span>帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题帮帮标题</span>--%>
            <%--</div>--%>
            <%--<div class="data-createtime">2019-06-02 15:41:30</div>--%>
            <%--<div class="data-operate"><a href="">详情</a>&nbsp;|&nbsp;<a href="">删除</a>--%>
            <%--</div>--%>
        <%--</div>--%>

    </div>
    <div class="middle-page">
        <div class="prev-page" onclick="prevNextPage(this)">
            <
        </div>
        <div class="now-page">1
        </div>
        <div class="next-page" onclick="prevNextPage(this)">></div>
        <div class="count-page">共1页</div>
    </div>
    <div class="middle-nodata">无数据</div>
</div>

</body>
</html>
